package system2021.src.class16graph;

import java.util.HashMap;
import java.util.HashSet;

public class Graph {
    // 点集，方便找到值对应的节点
    public HashMap<Integer, Node> nodes;
    // 边集，唯一不重复
    public HashSet<Edge> edges;

    public Graph() {
        nodes = new HashMap<>();
        edges = new HashSet<>();
    }
}
